package com.dhecp.project.api.mapper;

import com.dhecp.core.genericDao.GenericDao;
import com.dhecp.project.api.domain.FbaBox;
import com.dhecp.project.api.domain.FbaBoxDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * DAO
 * @author Jason
 */
public interface FbaBoxDetailMapper extends GenericDao<FbaBoxDetail, String>  {

	/**
     * 查询实体
     * @author Jason
	 */
	List<FbaBoxDetail> findFbaBoxDetail(Map<String, Object> params);

	/**
     * 查询单个实体
     * @author Jason
	 */
	FbaBoxDetail queryFirstByGuid(@Param("guid") String guid);
	
	/**
	 * 新增实体
     * @author Jason
	 */
	int insertFbaBoxDetail(FbaBoxDetail entity);
	
	/**
	 * 通过guid修改实体
     * @author Jason
	 */
	int updateByGuid(FbaBoxDetail entity);
	
    List<FbaBoxDetail> queryList(Map<String, Object> params);

	int deleteCodeBox(String codeBox);


}
